<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<div th:fragment="slider-bar-table">
    <div class="layui-slider-bar reference-side">
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title my-tab-title">
                <span class="item-hidden">thesis</span>
                <li class="layui-this" value="">我的论文</li>
                <span class="item-hidden">subject</span>
                <li>我的方向</li>
            </ul>
            <div class="layui-tab-content my-side-table">
                <!--新建论文按钮-->
                <div class="my-center aggregate-create">
                    <i class="layui-icon layui-icon-add-circle" style="font-size: 24px; color: black;"></i>
                    <span class="aggregate-create-btn">新建</span>
                </div>
                <div class="aggregate-create-input item-hidden">
                    <input type="text" id="aggregate-create-content" required lay-verify="required"
                           placeholder="请输入文献集名称..."
                           autocomplete="off" class="layui-input">
                    <div class="float-right">
                        <button type="button" id="aggregate-create-submit"
                                class="layui-btn layui-btn-radius layui-btn-sm layui-btn-normal">提交
                        </button>
                        <button type="button" id="aggregate-create-cancel"
                                class="layui-btn layui-btn-radius layui-btn-sm layui-btn-primary">取消
                        </button>
                    </div>
                </div>
                <div class="layui-tab-item layui-show">
                    <table class="layui-table" lay-skin="nob">
                        <tbody>
                        <tr th:each="thesis:${thesisList}"
                            th:classappend="${thesis.id==aggregate.id}?'aggregate-list-show':''">
                            <td style="width:10px;padding-right: 0px" th:text="${thesisStat.count}"></td>
                            <td class="item-hidden" th:text="${thesis.id}"></td>
                            <td class="aggregate-list-title" th:text="${thesis.aggregateTitle}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="layui-tab-item">
                    <table class="layui-table" lay-skin="nob">
                        <tbody>
                        <tr th:each="subject:${subjectList}"
                            th:classappend="${subject.id==aggregate.id}?'aggregate-list-show':''">
                            <td style="width:10px;padding-right: 0px" th:text="${subjectStat.count}">1</td>
                            <td class="item-hidden" th:text="${subject.id}"></td>
                            <td class="aggregate-list-title" th:text="${subject.aggregateTitle}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>